package com.moliku.insurance.common.base;

import cn.hutool.core.util.StrUtil;
import com.baomidou.mybatisplus.core.toolkit.StringPool;
import com.moliku.insurance.common.conver.MapperConverter;

import java.util.List;

/**
 * 基础控制器
 *
 * @author Mr.Liu
 * @since 2020/11/7
 */
public abstract class BaseController implements MapperConverter {

    protected List<String> splitIds(String ids) {
        return StrUtil.splitTrim(ids, StringPool.COMMA);
    }
}
